package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-11 
 */
@ApiModel (value ="基坑监测轴力表实体类",description = "FoundationAxial")
public class FoundationAxial {
	/**
	 * 基坑监测轴力表id
	 */
   	@ApiModelProperty(value = "基坑监测轴力表id", name = "id")
	private Integer id;

	/**
	 * 标段id
	 */
   	@ApiModelProperty(value = "标段id", name = "projectId")
	private Integer projectId;

	/**
	 * 测点名称
	 */
   	@ApiModelProperty(value = "测点名称", name = "name")
	private String name;

	/**
	 * 本次读数
	 */
   	@ApiModelProperty(value = "本次读数", name = "localReading")
	private Double localReading;

	/**
	 * 轴力值
	 */
   	@ApiModelProperty(value = "轴力值", name = "axialValue")
	private Double axialValue;

	/**
	 * 本次变量
	 */
   	@ApiModelProperty(value = "本次变量", name = "variable")
	private Double variable;

	/**
	 * 累计变量
	 */
   	@ApiModelProperty(value = "累计变量", name = "cumulativeVariable")
	private Double cumulativeVariable;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "upTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date upTime;

	public FoundationAxial(){ super(); }

	public FoundationAxial(Integer id, Integer projectId, String name, Double localReading, Double axialValue, Double variable, Double cumulativeVariable, Date upTime) {
		this.id = id;
		this.projectId = projectId;
		this.name = name;
		this.localReading = localReading;
		this.axialValue = axialValue;
		this.variable = variable;
		this.cumulativeVariable = cumulativeVariable;
		this.upTime = upTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getLocalReading() {
		return this.localReading;
	}

	public void setLocalReading(Double localReading) {
		this.localReading = localReading;
	}

	public Double getAxialValue() {
		return this.axialValue;
	}

	public void setAxialValue(Double axialValue) {
		this.axialValue = axialValue;
	}

	public Double getVariable() {
		return this.variable;
	}

	public void setVariable(Double variable) {
		this.variable = variable;
	}

	public Double getCumulativeVariable() {
		return this.cumulativeVariable;
	}

	public void setCumulativeVariable(Double cumulativeVariable) {
		this.cumulativeVariable = cumulativeVariable;
	}

	public Date getUpTime() {
		return this.upTime;
	}

	public void setUpTime(Date upTime) {
		this.upTime = upTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", name='" + name + '\'' +
				", localReading='" + localReading + '\'' +
				", axialValue='" + axialValue + '\'' +
				", variable='" + variable + '\'' +
				", cumulativeVariable='" + cumulativeVariable + '\'' +
				", upTime='" + upTime + '\'' +
				'}';
	}
}
